﻿using MES.Server.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MES.Server.IService
{
    public interface IFuncService
    {
        IEnumerable<FuncEntity> GetAllFunction(string key);
        IEnumerable<FuncEntity> GetFunctionByIds(string ids);
        int Update(FuncEntity _func);

        int Delete(string[] ids);
        bool CheckFuncName(string name, int id);
    }
}
